package com.example.video.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文件基本信息
 * <p/>
 *
 * @author : yj
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("文件基本信息")
public class FileResourceInfo {

    @ApiModelProperty("路径")
    private String url;

    @ApiModelProperty(value = "存储桶名称")
    private String bucketName;

    @ApiModelProperty(value = "存储路径")
    private String objectName;

    @ApiModelProperty("类型")
    private String contentType;

    @ApiModelProperty("使用该资源的主键id")
    private Integer relationId;
}
